package cn.faster.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* <p>
* 用户角色中间表
* </p>
*
* @author xiaoCoder
* @date 2021-06-10
*/
@Data
@TableName("sys_user_role_center")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "用户角色中间表")
public class SysUserRoleCenter extends Model<SysUserRoleCenter> {

    private static final long serialVersionUID = 1L;


    @TableId
    @ApiModelProperty("用户角色中间表id")
    private Long id;



    @ApiModelProperty("用户id")
    private Long uId;



    @ApiModelProperty("角色id")
    private Long rId;


}